
<%@ page import="renol.Testimonial" %>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
  <g:set var="entityName" value="${message(code: 'testimonial.label', default: 'Testimonial')}" />
  <title>Renol - Everything You Need</title>
</head>
<body>

  <div class="body">
    <h1><g:message code="default.list.label" args="[entityName]" /></h1>
    <g:if test="${flash.message}">
      <div class="message">${flash.message}</div>
    </g:if>
    <div class="list">
      <g:each var="testimonialInstance" in="${testimonialInstanceList}">

        <ul>
          <li>
            <div class="summary">
              <table style="width: 100%">
                <tr>
                  <td style="width: 50%">
                    <img src="${testimonialInstance.url}" width="275" height="275" alt="" />
                  </td>
                  <td>
                    <h4><a href="http://www.one.org/international/blog/?p=8049">${testimonialInstance.title}</a></h4>
                    <p class="cmt comments">${testimonialInstance.content}</p>
                    <p class="date"> ${testimonialInstance.commentDate}</p>            <p class="author">Posted by ${testimonialInstance.company}</p>
                  </td>
                </tr>
              </table>                      
            </div>            
          </li>
          <hr/>
        </ul> 
      </g:each>
    </div>
    <div class="paginateButtons">
      <g:paginate total="${testimonialInstanceTotal}" />
    </div>
  </div>
</body>
</html>
